SG Window Window Object
SendMessage Method

©1998 by Stinga

Properties     Methods      Events     Constants     Error Codes
Description

Sends a message to the attached window.

Syntax

object.SendMessage(msg As WinMsg, wParam As Long, lParam As Long) As Long

Part Description
object The object is expression that evaluates to Window object
msg Required. Message code.
wParam Required. Message specific data.
lParam Required. Message specific data.
Remarks

The SendMessage function sends the specified message to a window. The function calls the window procedure for the specified window and does not return until the window procedure has processed the message.
The Return value is the result of the message processing and depends on the message sent.